/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jili.ubert.code.server2client;

import com.baidu.bjf.remoting.protobuf.Codec;
import com.baidu.bjf.remoting.protobuf.ProtobufProxy;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import java.io.IOException;

/**
 *
 * @author ChengJiLi
 */
public class Price {
    @Protobuf
    private long sequenceNo;//行情序号
    @Protobuf
    private String regionID;//合约区域ID
    @Protobuf
    private String maketCode;//市场daima
    @Protobuf
    private String obj;//交易代码
    @Protobuf
    private String classCode;//品种代码
    @Protobuf
    private String eName;//英文简称
    @Protobuf
    private String localName;//名称
    @Protobuf
    private String UnderlyingAssetCode;//元资产代码
    @Protobuf
    private String Currency;//货币代码
    @Protobuf
    private int PriceExponent;//价格小数点位数
    @Protobuf
    private int ContractSize;//合约乘数
    @Protobuf
    private float LNC;//昨日收盘价
    @Protobuf
    private float UpperLimitPrice;//涨停价
    @Protobuf
    private float LowerLimitPrice;//跌停价
    
    @Protobuf
    private long Volume;//总成交量
    @Protobuf
    private double Amount;//今日总成交额
    @Protobuf
    private double lastAmount;//最新成交额
    @Protobuf
    private float lastPrice;//最新成交价
    @Protobuf
    private int lastQty;//最新成交量
    
    @Protobuf
    private int askQty1;
    @Protobuf
    private int askQty2;
    @Protobuf
    private int askQty3;
    @Protobuf
    private int askQty4;
    @Protobuf
    private int askQty5;
    @Protobuf
    private int askQty6;
    @Protobuf
    private int askQty7;
    @Protobuf
    private int askQty8;
    @Protobuf
    private int askQty9;
    @Protobuf
    private int askQty10;
    @Protobuf
    private float askPrice1;
    @Protobuf
    private float askPrice2;
    @Protobuf
    private float askPrice3;
    @Protobuf
    private float askPrice4;
    @Protobuf
    private float askPrice5;
    @Protobuf
    private float askPrice6;
    @Protobuf
    private float askPrice7;
    @Protobuf
    private float askPrice8;
    @Protobuf
    private float askPrice9;
    @Protobuf
    private float askPrice10;

    @Protobuf
    private int bidQty1;
    @Protobuf
    private int bidQty2;
    @Protobuf
    private int bidQty3;
    @Protobuf
    private int bidQty4;
    @Protobuf
    private int bidQty5;
    @Protobuf
    private int bidQty6;
    @Protobuf
    private int bidQty7;
    @Protobuf
    private int bidQty8;
    @Protobuf
    private int bidQty9;
    @Protobuf
    private int bidQty10;
    @Protobuf
    private float bidPrice1;
    @Protobuf
    private float bidPrice2;
    @Protobuf
    private float bidPrice3;
    @Protobuf
    private float bidPrice4;
    @Protobuf
    private float bidPrice5;
    @Protobuf
    private float bidPrice6;
    @Protobuf
    private float bidPrice7;
    @Protobuf
    private float bidPrice8;
    @Protobuf
    private float bidPrice9;
    @Protobuf
    private float bidPrice10;

    @Protobuf
    private float VWAPPrice;
    @Protobuf
    private float VWAPPMPrice;
    @Protobuf
    private float MMLNBestBid;
    @Protobuf
    private float BaseVolatility;
    @Protobuf
    private float HistoricalVolatility;
    @Protobuf
    private float TheoreticalPrice;
    @Protobuf
    private float ImpliedDelta;
    @Protobuf
    private float ImpliedGamma;

   

    public static byte[] EnCode(Price msg) throws IOException {
        Codec<Price> Lcode = ProtobufProxy.create(Price.class);
        return Lcode.encode(msg);
    }

    public static Price DeCode(byte[] data) throws IOException {
        Codec<Price> Lcode = ProtobufProxy.create(Price.class);
        return Lcode.decode(data);
    }

    /**
     * @return the sequenceNo
     */
    public long getSequenceNo() {
        return sequenceNo;
    }

    /**
     * @param sequenceNo the sequenceNo to set
     */
    public void setSequenceNo(long sequenceNo) {
        this.sequenceNo = sequenceNo;
    }

    /**
     * @return the regionID
     */
    public String getRegionID() {
        return regionID;
    }

    /**
     * @param regionID the regionID to set
     */
    public void setRegionID(String regionID) {
        this.regionID = regionID;
    }

    /**
     * @return the maketCode
     */
    public String getMaketCode() {
        return maketCode;
    }

    /**
     * @param maketCode the maketCode to set
     */
    public void setMaketCode(String maketCode) {
        this.maketCode = maketCode;
    }

    /**
     * @return the obj
     */
    public String getObj() {
        return obj;
    }

    /**
     * @param obj the obj to set
     */
    public void setObj(String obj) {
        this.obj = obj;
    }

    /**
     * @return the classCode
     */
    public String getClassCode() {
        return classCode;
    }

    /**
     * @param classCode the classCode to set
     */
    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    /**
     * @return the eName
     */
    public String geteName() {
        return eName;
    }

    /**
     * @param eName the eName to set
     */
    public void seteName(String eName) {
        this.eName = eName;
    }

    /**
     * @return the localName
     */
    public String getLocalName() {
        return localName;
    }

    /**
     * @param localName the localName to set
     */
    public void setLocalName(String localName) {
        this.localName = localName;
    }

    /**
     * @return the UnderlyingAssetCode
     */
    public String getUnderlyingAssetCode() {
        return UnderlyingAssetCode;
    }

    /**
     * @param UnderlyingAssetCode the UnderlyingAssetCode to set
     */
    public void setUnderlyingAssetCode(String UnderlyingAssetCode) {
        this.UnderlyingAssetCode = UnderlyingAssetCode;
    }

    /**
     * @return the Currency
     */
    public String getCurrency() {
        return Currency;
    }

    /**
     * @param Currency the Currency to set
     */
    public void setCurrency(String Currency) {
        this.Currency = Currency;
    }

    /**
     * @return the PriceExponent
     */
    public int getPriceExponent() {
        return PriceExponent;
    }

    /**
     * @param PriceExponent the PriceExponent to set
     */
    public void setPriceExponent(int PriceExponent) {
        this.PriceExponent = PriceExponent;
    }

    /**
     * @return the ContractSize
     */
    public int getContractSize() {
        return ContractSize;
    }

    /**
     * @param ContractSize the ContractSize to set
     */
    public void setContractSize(int ContractSize) {
        this.ContractSize = ContractSize;
    }

    /**
     * @return the LNC
     */
    public float getLNC() {
        return LNC;
    }

    /**
     * @param LNC the LNC to set
     */
    public void setLNC(float LNC) {
        this.LNC = LNC;
    }

    /**
     * @return the UpperLimitPrice
     */
    public float getUpperLimitPrice() {
        return UpperLimitPrice;
    }

    /**
     * @param UpperLimitPrice the UpperLimitPrice to set
     */
    public void setUpperLimitPrice(float UpperLimitPrice) {
        this.UpperLimitPrice = UpperLimitPrice;
    }

    /**
     * @return the LowerLimitPrice
     */
    public float getLowerLimitPrice() {
        return LowerLimitPrice;
    }

    /**
     * @param LowerLimitPrice the LowerLimitPrice to set
     */
    public void setLowerLimitPrice(float LowerLimitPrice) {
        this.LowerLimitPrice = LowerLimitPrice;
    }

    /**
     * @return the Volume
     */
    public long getVolume() {
        return Volume;
    }

    /**
     * @param Volume the Volume to set
     */
    public void setVolume(long Volume) {
        this.Volume = Volume;
    }

    /**
     * @return the Amount
     */
    public double getAmount() {
        return Amount;
    }

    /**
     * @param Amount the Amount to set
     */
    public void setAmount(double Amount) {
        this.Amount = Amount;
    }

    /**
     * @return the lastAmount
     */
    public double getLastAmount() {
        return lastAmount;
    }

    /**
     * @param lastAmount the lastAmount to set
     */
    public void setLastAmount(double lastAmount) {
        this.lastAmount = lastAmount;
    }

    /**
     * @return the lastPrice
     */
    public float getLastPrice() {
        return lastPrice;
    }

    /**
     * @param lastPrice the lastPrice to set
     */
    public void setLastPrice(float lastPrice) {
        this.lastPrice = lastPrice;
    }

    /**
     * @return the lastQty
     */
    public int getLastQty() {
        return lastQty;
    }

    /**
     * @param lastQty the lastQty to set
     */
    public void setLastQty(int lastQty) {
        this.lastQty = lastQty;
    }

    /**
     * @return the askQty1
     */
    public int getAskQty1() {
        return askQty1;
    }

    /**
     * @param askQty1 the askQty1 to set
     */
    public void setAskQty1(int askQty1) {
        this.askQty1 = askQty1;
    }

    /**
     * @return the askQty2
     */
    public int getAskQty2() {
        return askQty2;
    }

    /**
     * @param askQty2 the askQty2 to set
     */
    public void setAskQty2(int askQty2) {
        this.askQty2 = askQty2;
    }

    /**
     * @return the askQty3
     */
    public int getAskQty3() {
        return askQty3;
    }

    /**
     * @param askQty3 the askQty3 to set
     */
    public void setAskQty3(int askQty3) {
        this.askQty3 = askQty3;
    }

    /**
     * @return the askQty4
     */
    public int getAskQty4() {
        return askQty4;
    }

    /**
     * @param askQty4 the askQty4 to set
     */
    public void setAskQty4(int askQty4) {
        this.askQty4 = askQty4;
    }

    /**
     * @return the askQty5
     */
    public int getAskQty5() {
        return askQty5;
    }

    /**
     * @param askQty5 the askQty5 to set
     */
    public void setAskQty5(int askQty5) {
        this.askQty5 = askQty5;
    }

    /**
     * @return the askQty6
     */
    public int getAskQty6() {
        return askQty6;
    }

    /**
     * @param askQty6 the askQty6 to set
     */
    public void setAskQty6(int askQty6) {
        this.askQty6 = askQty6;
    }

    /**
     * @return the askQty7
     */
    public int getAskQty7() {
        return askQty7;
    }

    /**
     * @param askQty7 the askQty7 to set
     */
    public void setAskQty7(int askQty7) {
        this.askQty7 = askQty7;
    }

    /**
     * @return the askQty8
     */
    public int getAskQty8() {
        return askQty8;
    }

    /**
     * @param askQty8 the askQty8 to set
     */
    public void setAskQty8(int askQty8) {
        this.askQty8 = askQty8;
    }

    /**
     * @return the askQty9
     */
    public int getAskQty9() {
        return askQty9;
    }

    /**
     * @param askQty9 the askQty9 to set
     */
    public void setAskQty9(int askQty9) {
        this.askQty9 = askQty9;
    }

    /**
     * @return the askQty10
     */
    public int getAskQty10() {
        return askQty10;
    }

    /**
     * @param askQty10 the askQty10 to set
     */
    public void setAskQty10(int askQty10) {
        this.askQty10 = askQty10;
    }

    /**
     * @return the askPrice1
     */
    public float getAskPrice1() {
        return askPrice1;
    }

    /**
     * @param askPrice1 the askPrice1 to set
     */
    public void setAskPrice1(float askPrice1) {
        this.askPrice1 = askPrice1;
    }

    /**
     * @return the askPrice2
     */
    public float getAskPrice2() {
        return askPrice2;
    }

    /**
     * @param askPrice2 the askPrice2 to set
     */
    public void setAskPrice2(float askPrice2) {
        this.askPrice2 = askPrice2;
    }

    /**
     * @return the askPrice3
     */
    public float getAskPrice3() {
        return askPrice3;
    }

    /**
     * @param askPrice3 the askPrice3 to set
     */
    public void setAskPrice3(float askPrice3) {
        this.askPrice3 = askPrice3;
    }

    /**
     * @return the askPrice4
     */
    public float getAskPrice4() {
        return askPrice4;
    }

    /**
     * @param askPrice4 the askPrice4 to set
     */
    public void setAskPrice4(float askPrice4) {
        this.askPrice4 = askPrice4;
    }

    /**
     * @return the askPrice5
     */
    public float getAskPrice5() {
        return askPrice5;
    }

    /**
     * @param askPrice5 the askPrice5 to set
     */
    public void setAskPrice5(float askPrice5) {
        this.askPrice5 = askPrice5;
    }

    /**
     * @return the askPrice6
     */
    public float getAskPrice6() {
        return askPrice6;
    }

    /**
     * @param askPrice6 the askPrice6 to set
     */
    public void setAskPrice6(float askPrice6) {
        this.askPrice6 = askPrice6;
    }

    /**
     * @return the askPrice7
     */
    public float getAskPrice7() {
        return askPrice7;
    }

    /**
     * @param askPrice7 the askPrice7 to set
     */
    public void setAskPrice7(float askPrice7) {
        this.askPrice7 = askPrice7;
    }

    /**
     * @return the askPrice8
     */
    public float getAskPrice8() {
        return askPrice8;
    }

    /**
     * @param askPrice8 the askPrice8 to set
     */
    public void setAskPrice8(float askPrice8) {
        this.askPrice8 = askPrice8;
    }

    /**
     * @return the askPrice9
     */
    public float getAskPrice9() {
        return askPrice9;
    }

    /**
     * @param askPrice9 the askPrice9 to set
     */
    public void setAskPrice9(float askPrice9) {
        this.askPrice9 = askPrice9;
    }

    /**
     * @return the askPrice10
     */
    public float getAskPrice10() {
        return askPrice10;
    }

    /**
     * @param askPrice10 the askPrice10 to set
     */
    public void setAskPrice10(float askPrice10) {
        this.askPrice10 = askPrice10;
    }

    /**
     * @return the bidQty1
     */
    public int getBidQty1() {
        return bidQty1;
    }

    /**
     * @param bidQty1 the bidQty1 to set
     */
    public void setBidQty1(int bidQty1) {
        this.bidQty1 = bidQty1;
    }

    /**
     * @return the bidQty2
     */
    public int getBidQty2() {
        return bidQty2;
    }

    /**
     * @param bidQty2 the bidQty2 to set
     */
    public void setBidQty2(int bidQty2) {
        this.bidQty2 = bidQty2;
    }

    /**
     * @return the bidQty3
     */
    public int getBidQty3() {
        return bidQty3;
    }

    /**
     * @param bidQty3 the bidQty3 to set
     */
    public void setBidQty3(int bidQty3) {
        this.bidQty3 = bidQty3;
    }

    /**
     * @return the bidQty4
     */
    public int getBidQty4() {
        return bidQty4;
    }

    /**
     * @param bidQty4 the bidQty4 to set
     */
    public void setBidQty4(int bidQty4) {
        this.bidQty4 = bidQty4;
    }

    /**
     * @return the bidQty5
     */
    public int getBidQty5() {
        return bidQty5;
    }

    /**
     * @param bidQty5 the bidQty5 to set
     */
    public void setBidQty5(int bidQty5) {
        this.bidQty5 = bidQty5;
    }

    /**
     * @return the bidQty6
     */
    public int getBidQty6() {
        return bidQty6;
    }

    /**
     * @param bidQty6 the bidQty6 to set
     */
    public void setBidQty6(int bidQty6) {
        this.bidQty6 = bidQty6;
    }

    /**
     * @return the bidQty7
     */
    public int getBidQty7() {
        return bidQty7;
    }

    /**
     * @param bidQty7 the bidQty7 to set
     */
    public void setBidQty7(int bidQty7) {
        this.bidQty7 = bidQty7;
    }

    /**
     * @return the bidQty8
     */
    public int getBidQty8() {
        return bidQty8;
    }

    /**
     * @param bidQty8 the bidQty8 to set
     */
    public void setBidQty8(int bidQty8) {
        this.bidQty8 = bidQty8;
    }

    /**
     * @return the bidQty9
     */
    public int getBidQty9() {
        return bidQty9;
    }

    /**
     * @param bidQty9 the bidQty9 to set
     */
    public void setBidQty9(int bidQty9) {
        this.bidQty9 = bidQty9;
    }

    /**
     * @return the bidQty10
     */
    public int getBidQty10() {
        return bidQty10;
    }

    /**
     * @param bidQty10 the bidQty10 to set
     */
    public void setBidQty10(int bidQty10) {
        this.bidQty10 = bidQty10;
    }

    /**
     * @return the bidPrice1
     */
    public float getBidPrice1() {
        return bidPrice1;
    }

    /**
     * @param bidPrice1 the bidPrice1 to set
     */
    public void setBidPrice1(float bidPrice1) {
        this.bidPrice1 = bidPrice1;
    }

    /**
     * @return the bidPrice2
     */
    public float getBidPrice2() {
        return bidPrice2;
    }

    /**
     * @param bidPrice2 the bidPrice2 to set
     */
    public void setBidPrice2(float bidPrice2) {
        this.bidPrice2 = bidPrice2;
    }

    /**
     * @return the bidPrice3
     */
    public float getBidPrice3() {
        return bidPrice3;
    }

    /**
     * @param bidPrice3 the bidPrice3 to set
     */
    public void setBidPrice3(float bidPrice3) {
        this.bidPrice3 = bidPrice3;
    }

    /**
     * @return the bidPrice4
     */
    public float getBidPrice4() {
        return bidPrice4;
    }

    /**
     * @param bidPrice4 the bidPrice4 to set
     */
    public void setBidPrice4(float bidPrice4) {
        this.bidPrice4 = bidPrice4;
    }

    /**
     * @return the bidPrice5
     */
    public float getBidPrice5() {
        return bidPrice5;
    }

    /**
     * @param bidPrice5 the bidPrice5 to set
     */
    public void setBidPrice5(float bidPrice5) {
        this.bidPrice5 = bidPrice5;
    }

    /**
     * @return the bidPrice6
     */
    public float getBidPrice6() {
        return bidPrice6;
    }

    /**
     * @param bidPrice6 the bidPrice6 to set
     */
    public void setBidPrice6(float bidPrice6) {
        this.bidPrice6 = bidPrice6;
    }

    /**
     * @return the bidPrice7
     */
    public float getBidPrice7() {
        return bidPrice7;
    }

    /**
     * @param bidPrice7 the bidPrice7 to set
     */
    public void setBidPrice7(float bidPrice7) {
        this.bidPrice7 = bidPrice7;
    }

    /**
     * @return the bidPrice8
     */
    public float getBidPrice8() {
        return bidPrice8;
    }

    /**
     * @param bidPrice8 the bidPrice8 to set
     */
    public void setBidPrice8(float bidPrice8) {
        this.bidPrice8 = bidPrice8;
    }

    /**
     * @return the bidPrice9
     */
    public float getBidPrice9() {
        return bidPrice9;
    }

    /**
     * @param bidPrice9 the bidPrice9 to set
     */
    public void setBidPrice9(float bidPrice9) {
        this.bidPrice9 = bidPrice9;
    }

    /**
     * @return the bidPrice10
     */
    public float getBidPrice10() {
        return bidPrice10;
    }

    /**
     * @param bidPrice10 the bidPrice10 to set
     */
    public void setBidPrice10(float bidPrice10) {
        this.bidPrice10 = bidPrice10;
    }

    /**
     * @return the VWAPPrice
     */
    public float getVWAPPrice() {
        return VWAPPrice;
    }

    /**
     * @param VWAPPrice the VWAPPrice to set
     */
    public void setVWAPPrice(float VWAPPrice) {
        this.VWAPPrice = VWAPPrice;
    }

    /**
     * @return the VWAPPMPrice
     */
    public float getVWAPPMPrice() {
        return VWAPPMPrice;
    }

    /**
     * @param VWAPPMPrice the VWAPPMPrice to set
     */
    public void setVWAPPMPrice(float VWAPPMPrice) {
        this.VWAPPMPrice = VWAPPMPrice;
    }

    /**
     * @return the MMLNBestBid
     */
    public float getMMLNBestBid() {
        return MMLNBestBid;
    }

    /**
     * @param MMLNBestBid the MMLNBestBid to set
     */
    public void setMMLNBestBid(float MMLNBestBid) {
        this.MMLNBestBid = MMLNBestBid;
    }

    /**
     * @return the BaseVolatility
     */
    public float getBaseVolatility() {
        return BaseVolatility;
    }

    /**
     * @param BaseVolatility the BaseVolatility to set
     */
    public void setBaseVolatility(float BaseVolatility) {
        this.BaseVolatility = BaseVolatility;
    }

    /**
     * @return the HistoricalVolatility
     */
    public float getHistoricalVolatility() {
        return HistoricalVolatility;
    }

    /**
     * @param HistoricalVolatility the HistoricalVolatility to set
     */
    public void setHistoricalVolatility(float HistoricalVolatility) {
        this.HistoricalVolatility = HistoricalVolatility;
    }

    /**
     * @return the TheoreticalPrice
     */
    public float getTheoreticalPrice() {
        return TheoreticalPrice;
    }

    /**
     * @param TheoreticalPrice the TheoreticalPrice to set
     */
    public void setTheoreticalPrice(float TheoreticalPrice) {
        this.TheoreticalPrice = TheoreticalPrice;
    }

    /**
     * @return the ImpliedDelta
     */
    public float getImpliedDelta() {
        return ImpliedDelta;
    }

    /**
     * @param ImpliedDelta the ImpliedDelta to set
     */
    public void setImpliedDelta(float ImpliedDelta) {
        this.ImpliedDelta = ImpliedDelta;
    }

    /**
     * @return the ImpliedGamma
     */
    public float getImpliedGamma() {
        return ImpliedGamma;
    }

    /**
     * @param ImpliedGamma the ImpliedGamma to set
     */
    public void setImpliedGamma(float ImpliedGamma) {
        this.ImpliedGamma = ImpliedGamma;
    }
}
